package demon1;

public class Test {
    public static void main(String[] args) {
        IMylinkedList iMylinkedList=new MyLinkedList();
        iMylinkedList.addFirst(1);
        iMylinkedList.addFirst(2);
        iMylinkedList.addFirst(3);
        iMylinkedList.addFirst(4);
        iMylinkedList.addIndex(1,19);
        iMylinkedList.remove(4);
        iMylinkedList.remove(1);
        iMylinkedList.display();
    }

}
